package cn.tedu.egspring;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestWeibo {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext
                ("bean-weibo.xml");
        weibo weibo = context.getBean(weibo.class);
        System.out.println(weibo);
    }
}
